#ifndef COMMON_UTILITIES_H
#define COMMON_UTILITIES_H

#include <QString>
#include <QVector>

struct Option
{
    int id;
    QString text;
    QString language;
    QString category;
    QString path;
    int suggestedCount;
    int rightAnswerCount;
    int getProbability() const;
};

struct Test {
    int id;
    int currentOptionId;
    QVector <Option> optionsList;
};

void printTest (Test test);
void printOption (Option option);

#endif // COMMON_UTILITIES_H
